﻿<!doctype html>
<html>
<head>
<#include "/part_meta.ftl">
<title>商品入库-迈小众</title>
<link href="${st.resDomain}/css/style.css" rel="stylesheet">
<link href="${st.resDomain}/css/form-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC.css" rel="stylesheet">
</head>

<body>
<!--- header --->
<div id="header">
  <div class="main f_clear">
    <div class="logo"><h2><@shiro.principal property="s_name" /></h2><span>您好！<@shiro.principal property="m_name" />， <a href="${st.domain}/member/logoutDo">退出</a>&nbsp;&nbsp;&nbsp;[ <a href="${st.shopDomain}/localSale/v1.1" target="_blank">进行线下销售</a> ]</span></div>
    <div class="f_right"><a href="${st.userDomain}">个人中心</a> <a href="${st.shopDomain}" class="selected">店铺管理</a><@shiro.hasRole name="FIRM"><a href="${st.firmDomain}">企业管理</a></@shiro.hasRole></div>
  </div>
</div>
<!--- header end--->
<!--topnav -->
<div id="topnav">
  <div class="main">
    <ul class="left">      
      
      <li><a href="${st.shopDomain}/order/list?statuses=0">订单</a></li>
      <li class="selected"><a href="${st.shopDomain}/storeGoods/list">商品</a></li>
      <li><a href="${st.shopDomain}/memberVip">会员</a></li>      
      <li><a href="${st.shopDomain}/store/edit">店铺</a></li>      
      <li><a href="${st.shopDomain}/goodsReport">数据</a></li>
    </ul>
  </div>
</div>
<!--topnav end-->
<div id="main" class="f_clear">
  <div id="left">
    <ul id="menu1">
      <li><a href="${st.shopDomain}/storeGoods/list">店铺商品</a></li>
      <li><a href="${st.shopDomain}/store/onlineSetting">线上销售</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/goodsPromote/list?id.type=0">商品促销</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/storePromote/list?type=0">满额促销</a></li>
      <li><a href="${st.shopDomain}/store/localSetting">线下销售</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/goodsPromote/list?id.type=2">商品促销</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/storePromote/list?type=2">满额促销</a></li>
      
      <li style="margin-left:10px;"><a href="${st.shopDomain}/localSale/soft">离线版本</a></li>
      <li><a href="${st.shopDomain}/storeRestock/list?isChecked=0">进货管理</a></li>
      <li class="selected"><a href="${st.shopDomain}/storeGoods/add">商品入库</a></li>
    </ul>
  </div>
  <div id="right">
    <div id="title">商品管理 - 商品入库</div>
    <div id="search">
    <div id="hideData" style="display:none">${companyId}</div>
    <form id="search_form" onsubmit="$(this).showMsg('正在查询...', 'load');">
      <div class="left">
      	<span id="selectClassify"></span>
        <input type="hidden" id="classifyId" name="goodsClassify.classifyId" value="${goods.goodsClassify.classifyId}">
        <input type="text" name="searchWord" value="${searchWord}" placeholder="商品名称/编码" autofocus="autofocus" class="k"/>
        <input type="submit" class="feignhide"><!-- 实现回车提交 -->
       <a href="javascript:;" onclick="$('#search_form').submit();" class="btn3">查询</a></div>
    </form>
    <div class="right"><a id="putAllBt" class="btn3">一键入库</a></div>
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab" id="spgl">
      <tr>
        <th class="w1"><input name="selectAll" type="checkbox" checked/></th>
        <th class="w2">商品名称</th>
        <th class="w3">&nbsp;</th>
        <th>商品类目</th>
        <th colspan="2">价格(￥)</th>
        <th>出售单位</th>
        <th class="cz">操作</th>
      </tr>
      <#list list as g>
      <tr>
        <td class="w1"><input name="goodsIds" type="checkbox" value="${g.goodsId}" checked/></td>
        <td class="w2"><a href="#"><img src="${st.resDomain}/images/goods_def.jpg" <#if g.pic??>data="${g.pic}" </#if>/></a></td>
        <td class="w3"><span>${g.barCode}</span><br><a href="#">${g.name}</a></td>
        <td>${g.goodsClassify.name}</td>
        <td class="price"><span class="w6">${g.price}</span></td>
        <td class="unit">/${g.unit}</td>
        <td>${g.sellUnit}</td>
        <td class="cz"><a href="javascript:;" id="put_${g.goodsId}">入库</a></td>
      </tr>
      </#list>
    </table>
    <div class="tabletj n-yellow">
      <div class="left">
        <input name="selectAll" type="checkbox" checked/>
        <a href="javascript:;" id="putSelected" class="btn3">入库</a></div>
      <div id="page">
        ${pl.linkString}
      </div>
    </div>
  </div>
</div>
<!--footer-->
<div id="footer">Copyright© 迈小众 <span style="padding-left:30px;">客服QQ：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3101084438&site=qq&menu=yes" rel="nofollow"><img border="0" src="http://wpa.qq.com/pa?p=2:3101084438:50" alt="点击联系我们，QQ：3101084438" title="点击联系我们，QQ：3101084438"></a></span></div>
<!--footer end-->
<script data-main="${st.resDomain}/scripts/shop/storeGoods_add" src="${st.resDomain}/scripts/require.js"></script>
</body>
</html>
